package com.landeb.shop.huo.bean;

import java.util.List;

/**
 * Created by blade on 2016/12/7.
 */

public class BeanGoodDetailActBsd {


    /**
     * status : 1
     * info : 成功
     * data : {"attrs":[{"id":"1","name":"口味","child":[{"id":"11","name":"不辣","is_select":"0"},{"id":"12","name":"微辣","is_select":"0"},{"id":"13","name":"中辣","is_select":"0"},{"id":"14","name":"重辣","is_select":"0"}]},{"id":"2","name":"份量","child":[{"id":"21","name":"10g装","is_select":"0"},{"id":"22","name":"20g装","is_select":"0"},{"id":"23","name":"50g装","is_select":"0"},{"id":"24","name":"80g装","is_select":"0"},{"id":"25","name":"100g装","is_select":"0"},{"id":"26","name":"200g装","is_select":"0"}]},{"id":"3","name":"数量","child":[{"id":"31","name":"10袋","is_select":"0"},{"id":"32","name":"20袋","is_select":"0"},{"id":"33","name":"30袋","is_select":"0"},{"id":"34","name":"40袋","is_select":"0"},{"id":"35","name":"50袋","is_select":"0"},{"id":"36","name":"60袋","is_select":"0"}]}],"stocks":[{"attr":"11,21,31","price":"100","stock":"10"},{"attr":"11,21,31","price":"100","stock":"10"},{"attr":"11,21,31","price":"100","stock":"10"},{"attr":"11,21,31","price":"100","stock":"10"},{"attr":"11,21,31","price":"100","stock":"10"},{"attr":"11,21,31","price":"100","stock":"10"},{"attr":"11,21,31","price":"100","stock":"10"},{"attr":"11,21,31","price":"100","stock":"10"},{"attr":"11,21,31","price":"100","stock":"10"},{"attr":"11,21,31","price":"100","stock":"10"},{"attr":"11,21,31","price":"100","stock":"10"}]}
     */

    private int status;
    private String info;
    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<AttrsBean> attrs;
        private List<StocksBean> stocks;

        public List<AttrsBean> getAttrs() {
            return attrs;
        }

        public void setAttrs(List<AttrsBean> attrs) {
            this.attrs = attrs;
        }

        public List<StocksBean> getStocks() {
            return stocks;
        }

        public void setStocks(List<StocksBean> stocks) {
            this.stocks = stocks;
        }

        public static class AttrsBean {
            /**
             * id : 1
             * name : 口味
             * child : [{"id":"11","name":"不辣","is_select":"0"},{"id":"12","name":"微辣","is_select":"0"},{"id":"13","name":"中辣","is_select":"0"},{"id":"14","name":"重辣","is_select":"0"}]
             */

            private String id;
            private String name;
            private List<ChildBean> child;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<ChildBean> getChild() {
                return child;
            }

            public void setChild(List<ChildBean> child) {
                this.child = child;
            }

            public static class ChildBean {
                /**
                 * id : 11
                 * name : 不辣
                 * is_select : 0
                 */

                private String id;
                private String name;
                private String is_select;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getIs_select() {
                    return is_select;
                }

                public void setIs_select(String is_select) {
                    this.is_select = is_select;
                }
            }
        }

        public static class StocksBean {
            /**
             * attr : 11,21,31
             * price : 100
             * stock : 10
             */

            private String attr;
            private String price;
            private String stock;

            public String getAttr() {
                return attr;
            }

            public void setAttr(String attr) {
                this.attr = attr;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getStock() {
                return stock;
            }

            public void setStock(String stock) {
                this.stock = stock;
            }
        }
    }
}
